/**
 * @summary: 财务管理
 */
export default {
    name: 'finance',
    path: '/finance',
    code: 'finance',
    icon: 'calculator',
    // disabled: true
    routes: [
        {
            name: 'salary',
            path: '/finance/salary',
            code: 'finance:salary',
            component: './SalaryManage/SalaryManageLayout',
            routes: [
                // 我的薪资
                {
                    name: 'mySalary',
                    path: '/finance/salary/mysalary',
                    component: './SalaryManage/MySalary',
                    code: 'finance:salary:my'
                },
                {
                    // 薪资计算
                    name: 'calculate',
                    path: '/finance/salary/calculate',
                    code: 'finance:salary:computation',
                    routes: [
                        // 薪资复核
                        {
                            name: 'recheck',
                            path: '/finance/salary/calculate/recheck',
                            code: 'finance:salary:computation:check',
                            iconfont: 'iconxinzifuhe1',
                            routes: [
                                // HR复核-总览
                                {
                                    name: 'hrRecheck',
                                    path: '/finance/salary/calculate/recheck/hrrecheck',
                                    component: './SalaryManage/SalaryCalculate/Recheck/HrRecheck/index',
                                    code: 'finance:salary:computation:check:hrcollect'
                                },
                                // 财务复核-总览
                                {
                                    name: 'financialRecheck',
                                    path: '/finance/salary/calculate/recheck/financialrecheck',
                                    component: './SalaryManage/SalaryCalculate/Recheck/FinancialRecheck/index',
                                    code: 'finance:salary:computation:check:ficollect'
                                },
                                // HR复核-详情
                                {
                                    name: 'hrRecheckDetail',
                                    path: '/finance/salary/calculate/recheck/hrrecheck/detail',
                                    component: './SalaryManage/SalaryCalculate/Recheck/HrRecheck/detail',
                                    code: 'finance:salary:computation:check:hrdetail'
                                },
                                // 财务复核-详情
                                {
                                    name: 'financialRecheckDetail',
                                    path: '/finance/salary/calculate/recheck/financialrecheck/detail',
                                    component: './SalaryManage/SalaryCalculate/Recheck/FinancialRecheck/detail',
                                    code: 'finance:salary:computation:check:fidetail'
                                },
                                // 细项复核
                                {
                                    name: 'itemRecheck',
                                    path: '/finance/salary/calculate/recheck/itemrecheck',
                                    component: './SalaryManage/SalaryCalculate/Recheck/ItemRecheck',
                                    tabMapperCode: 'itemRecheck',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 数据详情
                                {
                                    name: 'dataChart',
                                    path: '/finance/salary/calculate/recheck/dataChart',
                                    component: './SalaryManage/SalaryCalculate/Recheck/DataChart',
                                    code: true,
                                    hideInMenu: true
                                },
                                //薪资复核-操作日志
                                {
                                    name: 'recheckLog',
                                    path: '/finance/salary/calculate/recheck/recheckLog',
                                    component: './SalaryManage/SalaryCalculate/Recheck/RecheckLog',
                                    code: true,
                                    hideInMenu: true
                                }
                            ]
                        },
                        // 薪资发放
                        {
                            name: 'salaryPayoff',
                            path: '/finance/salary/calculate/salarypayoff',
                            code: 'finance:salary:computation:send',
                            iconfont: 'iconxinzifafang',
                            routes: [
                                // 薪资发放-excel
                                // {
                                //     name: 'excelExport',
                                //     path: '/finance/salary/calculate/salarypayoff/excelexport',
                                //     component: './SalaryManage/SalaryCalculate/SalaryPayoff/ExcelExport',
                                //     code: 'finance:salary:computation:send:export',
                                //     // routes: [
                                //     //     // 薪资发放-总览
                                //     //     {
                                //     //         name: 'collect',
                                //     //         path: '/finance/salary/calculate/salarypayoff/excelexport/collect',
                                //     //         component: './SalaryManage/SalaryCalculate/SalaryPayoff/ExcelExportCollect',
                                //     //         code: 'finance:salary:computation:send:export:collect',
                                //     //     },
                                //     //     // 薪资发放-详情
                                //     //     {
                                //     //         name: 'detail',
                                //     //         path: '/finance/salary/calculate/salarypayoff/excelexport/detail',
                                //     //         component: './SalaryManage/SalaryCalculate/SalaryPayoff/ExcelExportDetail',
                                //     //         code: 'finance:salary:computation:send:export:detail',
                                //     //     },
                                //     // ]
                                // },
                                // 薪资发放-总览
                                {
                                    name: 'excelExportCollect',
                                    path: '/finance/salary/calculate/salarypayoff/excelexport/collect',
                                    component: './SalaryManage/SalaryCalculate/SalaryPayoff/ExcelExportCollect',
                                    code: 'finance:salary:computation:send:export:collect'
                                },
                                // 薪资发放-详情
                                {
                                    name: 'excelExportDetail',
                                    path: '/finance/salary/calculate/salarypayoff/excelexport/detail',
                                    component: './SalaryManage/SalaryCalculate/SalaryPayoff/ExcelExportDetail',
                                    code: 'finance:salary:computation:send:export:detail'
                                },
                                //薪资发放-操作日志
                                {
                                    name: 'excelExportLog',
                                    path: '/finance/salary/calculate/salarypayoff/excelexportlog',
                                    component: './SalaryManage/SalaryCalculate/SalaryPayoff/ExcelExportLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                {
                                    name: 'bankCorporate',
                                    path: '/finance/salary/calculate/salarypayoff/bankcorporate',
                                    component: './SalaryManage/SalaryCalculate/SalaryPayoff/BankCorporate',
                                    code: 'finance:salary:computation:send:bankcorp'
                                }
                            ]
                        },

                        // 险金档案
                        {
                            name: 'insuranceFundFile',
                            path: '/finance/salary/calculate/insurancefundfile',
                            code: 'finance:salary:computation:social',
                            iconfont: 'iconxinzifafang',
                            routes: [
                                {
                                    // 险金
                                    name: 'insuranceHousingFund',
                                    path: '/finance/salary/calculate/insurancefundfile/insuranceHousingFund',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/InsuranceHousingFund',
                                    code: 'finance:salary:computation:social:social',
                                    countryCode: 'CN'
                                },
                                {
                                    // 城市医社保档案
                                    name: 'medicalSocialSecurity',
                                    path: '/finance/salary/calculate/insurancefundfile/medicalsocialsecurity',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/InsuranceHousingFund/MedicalSocialSecurity',
                                    code: 'finance:salary:computation:social:social:archive',
                                    countryCode: 'CN'
                                },
                                {
                                    // 险金档案 -> 待生效
                                    name: 'medicalSocialSecurityInProcess',
                                    path: '/finance/salary/calculate/insurancefundfile/medicalsocialsecurityinprocess',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/InsuranceHousingFund/MedicalSocialSecurity',
                                    code: 'finance:salary:computation:social:social:archive',
                                    countryCode: 'CN',
                                    hideInMenu: true
                                },
                                {
                                    // 新增险金档案
                                    name: 'medicalSocialSecurityAdd',
                                    path: '/finance/salary/calculate/insurancefundfile/medicalsocialsecurityadd',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/InsuranceHousingFund/MedicalSocialSecurityAdd',
                                    code: true,
                                    hideInMenu: true
                                },
                                {
                                    // 险金档案-操作日志
                                    name: 'insuranceHousingFundLog',
                                    path: '/finance/salary/calculate/insurancefundfile/insurancehousingfundlog',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/InsuranceHousingFundLog/',
                                    code: true,
                                    hideInMenu: true
                                },
                                {
                                    // 个人所得税
                                    name: 'personalIncomeTax',
                                    path: '/finance/salary/calculate/insurancefundfile/personalincometax',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/PersonalIncomeTax',
                                    code: 'finance:salary:computation:social:tax',
                                    countryCode: 'CN'
                                },
                                {
                                    // 个人所得税 -> 待生效
                                    name: 'personalIncomeTaxInProcess',
                                    path: '/finance/salary/calculate/insurancefundfile/personalincometaxinprocess',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/PersonalIncomeTax/PersonalIncomeTaxInProcess',
                                    code: 'finance:salary:computation:social:tax',
                                    countryCode: 'CN',
                                    hideInMenu: true
                                },
                                {
                                    // 个税计算器
                                    name: 'taxCalculator',
                                    path: '/finance/salary/calculate/insurancefundfile/taxcalculator',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/PersonalIncomeTax/taxCalculator',
                                    code: true,
                                    hideInMenu: true
                                },
                                {
                                    // 个人所得税-操作日志
                                    name: 'personalIncomeTaxLog',
                                    path: '/finance/salary/calculate/insurancefundfile/personalincometaxlog',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/PersonalIncomeTaxLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                {
                                    // CPF FILE
                                    name: 'cpfFile',
                                    path: '/finance/salary/calculate/insurancefundfile/cpffile',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/CPFFile',
                                    code: 'finance:salary:computation:social:cpf',
                                    countryCode: 'SG'
                                },
                                {
                                    // CPF Setting
                                    name: 'cpfSetting',
                                    path: '/finance/salary/calculate/insurancefundfile/cpfsetting',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/CPFSetting',
                                    code: 'finance:salary:computation:social:cpf:archive',
                                    countryCode: 'SG'
                                },
                                {
                                    // CPF Setting -> 待生效
                                    name: 'medicalSocialSecurityInProcess',
                                    path: '/finance/salary/calculate/insurancefundfile/cpfsettinginprogress',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/CPFSetting',
                                    code: 'finance:salary:computation:social:cpf',
                                    countryCode: 'SG',
                                    hideInMenu: true
                                },
                                {
                                    // CPF Setting-操作日志
                                    name: 'cpfSettingLog',
                                    path: '/finance/salary/calculate/insurancefundfile/cpfsettinglog',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/CPFSettingLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                {
                                    // 种族自助金
                                    name: 'selfHelpFunds',
                                    path: '/finance/salary/calculate/insurancefundfile/selfHelpFunds',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/SelfHelpFunds',
                                    code: 'finance:salary:computation:social:shg',
                                    countryCode: 'SG'
                                },
                                {
                                    // 种族自助金 -> 待生效
                                    name: 'selfHelpFundsInProcess',
                                    path: '/finance/salary/calculate/insurancefundfile/selfhelpfundsinprocess',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/SelfHelpFunds/SelfHelpFundsInProcess',
                                    code: true,
                                    countryCode: 'SG',
                                    hideInMenu: true
                                },
                                {
                                    // 种族自助金-操作日志
                                    name: 'selfHelpFundsLog',
                                    path: '/finance/salary/calculate/insurancefundfile/selfhelpfundslog',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/SelfHelpFundsLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                {
                                    // 技能发展税SDL
                                    name: 'skillsDevelopmentTax',
                                    path: '/finance/salary/calculate/insurancefundfile/skillsDevelopmentTax',
                                    component: './SalaryManage/SalaryCalculate/InsuranceFundFile/skillsDevelopmentTax',
                                    code: 'finance:salary:computation:social:sdl',
                                    countryCode: 'SG'
                                },
                                {
                                    // 技能发展税SDL -> 待生效
                                    name: 'skillsDevelopmentTaxInProcess',
                                    path: '/finance/salary/calculate/insurancefundfile/skillsDevelopmentTaxInProcess',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/skillsDevelopmentTax/SkillsDevelopmentTaxInProcess',
                                    code: true,
                                    hideInMenu: true
                                },
                                {
                                    // 技能发展税SDL -操作日志
                                    name: 'skillsDevelopmentTaxLog',
                                    path: '/finance/salary/calculate/insurancefundfile/skillsDevelopmentTaxLog',
                                    component:
                                        './SalaryManage/SalaryCalculate/InsuranceFundFile/skillsDevelopmentTax/SkillsDevelopmentTaxLog',
                                    code: true,
                                    hideInMenu: true
                                }
                            ]
                        },
                        // 数据导入
                        {
                            name: 'importExcel',
                            path: '/finance/salary/calculate/importexcel',
                            code: 'finance:salary:computation:import',
                            iconfont: 'iconExceldaoru',
                            routes: [
                                // 专项扣款 导入
                                {
                                    name: 'salarySpecialDeduct',
                                    path: '/finance/salary/calculate/importexcel/salarySpecialDeduct',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/SalarySpecialDeduct',
                                    code: 'finance:salary:computation:import:taxspecial',
                                    countryCode: 'CN'
                                },
                                // 专项扣款-操作日志
                                {
                                    name: 'salarySpecialDeductLog',
                                    path: '/finance/salary/calculate/importexcel/salarySpecialDeductlog',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/SalarySpecialDeductLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 专项扣款 编辑
                                {
                                    name: 'salarySpecialDeductEdit',
                                    path: '/finance/salary/calculate/importexcel/salarySpecialDeductedit',
                                    component:
                                        './SalaryManage/SalaryCalculate/ImportExcel/SalarySpecialDeduct/SalarySpecialDeductEdit',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 绩效系数 导入
                                {
                                    name: 'salaryBaseKpi',
                                    path: '/finance/salary/calculate/importexcel/salarybasekpi',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/SalaryBaseKpi',
                                    code: 'finance:salary:computation:import:kpi'
                                },
                                // 绩效系数-操作日志
                                {
                                    name: 'salaryBaseKpiLog',
                                    path: '/finance/salary/calculate/importexcel/salarybasekpilog',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/SalaryBaseKpiLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 绩效系数 编辑
                                {
                                    name: 'salaryBaseKpiEdit',
                                    path: '/finance/salary/calculate/importexcel/salarybasekpiedit',
                                    component:
                                        './SalaryManage/SalaryCalculate/ImportExcel/SalaryBaseKpi/SalaryBaseKpiEdit',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 险金 导入
                                // {
                                //     name: 'salaryPayrollSocial',
                                //     path: '/finance/salary/calculate/importexcel/salarypayrollsocial',
                                //     component: './SalaryManage/SalaryCalculate/ImportExcel/SalaryPayrollSocial',
                                //     code: true,
                                //     hideInMenu: true
                                // },
                                // 个税出始化 导入
                                {
                                    name: 'salaryPayrollTax',
                                    path: '/finance/salary/calculate/importexcel/salarypayrolltax',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/SalaryPayrollTax',
                                    code: 'finance:salary:computation:import:taxinit',
                                    countryCode: 'CN'
                                },
                                // 个税出始化-操作日志
                                {
                                    name: 'salaryPayrollTaxLog',
                                    path: '/finance/salary/calculate/importexcel/salarypayrolltaxlog',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/SalaryPayrollTaxLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 个税出始化 编辑
                                {
                                    name: 'salaryPayrollTaxEdit',
                                    path: '/finance/salary/calculate/importexcel/salarypayrolltaxedit',
                                    component:
                                        './SalaryManage/SalaryCalculate/ImportExcel/SalaryPayrollTax/SalaryPayrollTaxEdit',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 险金基数初始化 导入
                                {
                                    name: 'premiumBase',
                                    path: '/finance/salary/calculate/importexcel/premiumbase',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/PremiumBase',
                                    code: 'finance:salary:computation:import:socialinit',
                                    countryCode: 'CN'
                                },
                                // 险金基数-操作日志
                                {
                                    name: 'premiumBaseLog',
                                    path: '/finance/salary/calculate/importexcel/premiumbaselog',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/PremiumBaseLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 险金基数 编辑
                                {
                                    name: 'premiumBaseEdit',
                                    path: '/finance/salary/calculate/importexcel/premiumbaseedit',
                                    component: './SalaryManage/SalaryCalculate/ImportExcel/PremiumBase/PremiumBaseEdit',
                                    code: true,
                                    hideInMenu: true
                                }
                            ]
                        },
                        // 薪资配置
                        {
                            name: 'templateSetting',
                            path: '/finance/salary/calculate/templatesetting',
                            code: 'finance:salary:computation:setting',
                            iconfont: 'iconmobanpeizhi',
                            routes: [
                                // 薪资模板
                                {
                                    name: 'salaryTemplate',
                                    path: '/finance/salary/calculate/templatesetting/salarytemplate',
                                    component: './SalaryManage/SalaryCalculate/TemplateSetting/SalaryTemplate',
                                    code: 'finance:salary:computation:setting:salarytemp'
                                },
                                // 发放流程
                                {
                                    name: 'salaryPaySetting',
                                    path: '/finance/salary/calculate/templatesetting/salarypaysetting',
                                    component: './SalaryManage/SalaryCalculate/ParameterSetting/SalaryPaySetting',
                                    code: 'finance:salary:computation:setting:sendprocess'
                                },
                                // 新增薪资项
                                {
                                    name: 'partTemplate',
                                    path: '/finance/salary/calculate/templatesetting/parttemplate',
                                    component: './SalaryManage/SalaryCalculate/TemplateSetting/PartTemplate',
                                    code: 'finance:salary:computation:setting:itemlist'
                                    // hideInMenu: true
                                },
                                // 参数设置——发放流程-操作日志
                                {
                                    name: 'salaryPaySettingLog',
                                    path: '/finance/salary/calculate/templatesetting/salarypaysettinglog',
                                    component: './SalaryManage/SalaryCalculate/ParameterSetting/SalaryPaySettingLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 模板配置——薪资模板——更改日志
                                {
                                    name: 'salaryTemplateLog',
                                    path: '/finance/salary/calculate/templatesetting/salarytemplatelog',
                                    component: './SalaryManage/SalaryCalculate/TemplateSetting/SalaryTemplateLog',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 模板配置——构成要素配置
                                // {
                                //     name: 'partTemplate',
                                //     path: '/finance/salary/calculate/templatesetting/parttemplate',
                                //     component: './SalaryManage/SalaryCalculate/TemplateSetting/PartTemplate',
                                //     code: true,
                                //     hideInMenu: true
                                // },
                                // 模板配置——薪资要素——更改配置
                                {
                                    name: 'partTemplateLog',
                                    path: '/finance/salary/calculate/templatesetting/parttemplatelog',
                                    component: './SalaryManage/SalaryCalculate/TemplateSetting/PartTemplateLog',
                                    code: true,
                                    hideInMenu: true
                                }
                            ]
                        },

                        // 模板库
                        {
                            iconfont: 'iconmobanku',
                            name: 'templateLibrary',
                            path: '/finance/salary/calculate/templatelibrary',
                            component: './SalaryManage/SalaryCalculate/TemplateLibrary',
                            code: 'finance:salary:computation:templatelib'
                        },
                        {
                            iconfont: 'iconmobanku',
                            name: 'quoteTemplateLibrary',
                            path: '/finance/salary/calculate/quoteTemplateLibrary',
                            component: './SalaryManage/SalaryCalculate/TemplateLibrary',
                            code: true,
                            hideInMenu: true
                        }
                    ]
                },
                {
                    name: 'confirm',
                    path: '/finance/salary/confirm',
                    code: 'finance:salary:confirm',
                    routes: [
                        // 薪资确认
                        {
                            iconfont: 'iconxinzifuhe1',
                            name: 'salaryConfirm',
                            path: '/finance/salary/confirm/salaryconfirm',
                            component: './SalaryManage/SalaryConfirm/SalaryConfirm',
                            code: 'finance:salary:confirm:confirm'
                        },
                        // 薪资反馈
                        {
                            iconfont: 'iconxinzifafang',
                            name: 'salaryFeedback',
                            path: '/finance/salary/confirm/salaryfeedback',
                            component: './SalaryManage/SalaryConfirm/SalaryFeedback',
                            code: 'finance:salary:confirm:feedback'
                        },
                        // 薪资反馈日志
                        {
                            name: 'salaryFeedbackLog',
                            path: '/finance/salary/confirm/salaryfeedbacklog',
                            component: './SalaryManage/SalaryConfirm/SalaryFeedbackLog',
                            code: true,
                            hideInMenu: true
                        }
                    ]
                },
                {
                    name: 'statistics',
                    path: '/finance/salary/statistics',
                    code: 'finance:salary:report',
                    routes: [
                        {
                            iconfont: 'iconxinzifuhe1',
                            name: 'salary',
                            path: '/finance/salary/statistics/salary',
                            code: 'finance:salary:report:report',
                            routes: [
                                // 薪资报表
                                {
                                    name: 'salaryStatistics',
                                    path: '/finance/salary/statistics/salary/salaryStatistics',
                                    component: './SalaryManage/Statistics/SalaryStatistics',
                                    code: 'finance:salary:report:report:report'
                                },
                                // 员工薪资-薪资报表详情页
                                {
                                    name: 'salaryStatisticsDetail',
                                    path: '/finance/salary/statistics/salary/salarystatisticsdetail',
                                    component: './SalaryManage/Statistics/SalaryStatisticsDetail/index',
                                    code: true,
                                    hideInMenu: true
                                },
                                // 险金报表
                                {
                                    name: 'fundStatistics',
                                    path: '/finance/salary/statistics/salary/fundstatistics',
                                    component: './SalaryManage/Statistics/FundStatistics',
                                    code: 'finance:salary:report:report:social',
                                    countryCode: 'CN'
                                },
                                // 个税报表
                                {
                                    name: 'personalTaxStatistics',
                                    path: '/finance/salary/statistics/salary/personaltaxstatistics',
                                    component: './SalaryManage/Statistics/PersonalTaxStatistics',
                                    code: 'finance:salary:report:report:tax',
                                    countryCode: 'CN'
                                }
                            ]
                        },
                        {
                            iconfont: 'iconwozhihangde',
                            name: 'perspective',
                            path: '/finance/salary/statistics/perspective',
                            code: 'finance:salary:report:view',
                            routes: [
                                // 薪资透视表
                                {
                                    name: 'pic',
                                    path: '/finance/salary/statistics/perspective/pic',
                                    component: './SalaryManage/Statistics/Perspective/Pic',
                                    code: 'finance:salary:report:view'
                                },
                                // 编辑图表
                                {
                                    name: 'edit',
                                    path: '/finance/salary/statistics/perspective/edit',
                                    component: './SalaryManage/Statistics/Perspective/EditCharts',
                                    code: 'finance:salary:report:view'
                                }
                            ]
                        }
                    ]
                },

                // 薪资模板-编辑
                {
                    name: 'salaryTemplateEdit',
                    path: '/finance/salary/salarytemplateedit',
                    component: './SalaryManage/SalaryCalculate/TemplateSetting/SalaryTemplateEdit',
                    code: true,
                    hideInMenu: true
                },
                // 薪资要素-新增薪资项
                {
                    name: 'salaryMainAdd',
                    path: '/finance/salary/salarymainadd',
                    component: './SalaryManage/SalaryCalculate/TemplateSetting/SalaryMainAdd',
                    code: true,
                    hideInMenu: true
                },
                // 薪资要素-编辑薪资项
                {
                    name: 'salaryMainEdit',
                    path: '/finance/salary/salarymainedit',
                    component: './SalaryManage/SalaryCalculate/TemplateSetting/SalaryMainAdd',
                    code: true,
                    hideInMenu: true
                },
                // 薪资要素-薪资项详情
                {
                    name: 'salaryMainDetail',
                    path: '/finance/salary/salarymaindetail',
                    component: './SalaryManage/SalaryCalculate/TemplateSetting/SalaryMainAdd',
                    code: true,
                    hideInMenu: true
                }
            ]
        },
        // 财务设置
        {
            name: 'setting',
            path: '/finance/setting',
            code: 'finance:setting',
            component: './SalaryManage/SalaryManageLayout',
            routes: [
                // 基础设置
                {
                    name: 'baseSetting',
                    path: '/finance/setting/baseSetting',
                    code: 'finance:setting:basic',
                    routes: [
                        // 参数设置
                        {
                            name: 'parameterSetting',
                            path: '/finance/setting/baseSetting/parameterSetting',
                            component: './SalaryManage/setting/baseSetting/ParameterSetting',
                            code: 'finance:setting:basic:param'
                        },
                        //参数设置-操作日志
                        {
                            name: 'parameterSettingLog',
                            path: '/finance/setting/baseSetting/parameterSettingLog',
                            component: './SalaryManage/setting/baseSetting/ParameterSettingLog',
                            code: true,
                            hideInMenu: true
                        }
                    ]
                },
                // 薪资设置
                {
                    name: 'salarySetting',
                    path: '/finance/setting/salarySetting',
                    code: 'finance:setting:salary',
                    routes: [
                        // 工时设置
                        {
                            name: 'workingSetting',
                            path: '/finance/setting/salarySetting/workingSetting',
                            component: './SalaryManage/setting/salarySetting/WorkingSetting',
                            code: 'finance:setting:salary:workhour'
                        },
                        // 社评工资
                        {
                            name: 'editorialSetting',
                            path: '/finance/setting/salarySetting/editorialSetting',
                            component: './SalaryManage/setting/salarySetting/EditorialSetting',
                            code: 'finance:setting:salary:editorialsalary'
                        },
                        // 工时设置-操作日志
                        {
                            name: 'workingSettingLog',
                            path: '/finance/setting/salarySetting/workingSettingLog',
                            component: './SalaryManage/setting/salarySetting/WorkingSettingLog',
                            code: true,
                            hideInMenu: true
                        },
                        // 社评工资-操作日志
                        {
                            name: 'editorialSettingLog',
                            path: '/finance/setting/salarySetting/editorialSettingLog',
                            component: './SalaryManage/setting/salarySetting/EditorialSettingLog',
                            code: true,
                            hideInMenu: true
                        },
                        // 特殊设置
                        {
                            name: 'specialSetting',
                            path: '/finance/setting/salarySetting/specialSetting',
                            code: 'finance:setting:salary:special',
                            component: './SalaryManage/setting/salarySetting/SpecialSetting'
                        },
                        // 特殊设置-操作日志
                        {
                            name: 'specialSettingLog',
                            path: '/finance/setting/salarySetting/specialSettingLog',
                            component: './SalaryManage/setting/salarySetting/SpecialSettingLog',
                            code: true,
                            hideInMenu: true
                        }
                    ]
                }
            ]
        }
    ]
};
